#ifndef COIN_H_
#define COIN_H_

#include <grrlib.h>
#include "global.h"


class Coin {
public:
	Coin(int x, int y);
	~Coin();
	
	void SetXY(int x, int y);
	
	bool Collision(int x, int y, int size);
	void Render(int scrollx);

private:
	GRRLIB_texImg *texCoin;
	
	int PosX, PosY;
	int size;
};


#endif //COIN_H_